API Help
EPLAN API / API Reference / Actions / ExportNCData
In This Topic
    ExportNCData
    In This Topic
     Action exports NC Data for machines.
     
    

    Parameter Description
    MachineType
    integer, mandatory:  1: NC Steinhauer, 2: Rittal - Perforex BC, 3: NC DXF, 4: Drilling template, 5: Rittal - Perforex LC
    
    MachineName
    string, mandatory: Name of Machine, which has to be defined in Settings
    
    ProjectName
    string, optional: if not set, the actual project ist exported. If set with project name (including complete path and extension), project is loaded (if needed) and activated
    
    UseSelection
    integer, optional: 0: don't care for selection, != 0: use fields included in actual selection. Only used if ProjectName not set in parameters. Default: 0
    
    TargetDirectory
    string, optional: if set, content overrides export directory of settings
    
    MaterialName
    string, optional: only used for Rittal Perforex BC and LC. If set and known in machine settings, this material is set for export.
    

    Remarks

    Example
    ExportNCData /MACHINETYPE:2 /MACHINENAME:Standard /TARGETDIRECTORY:D:\export /MATERIALNAME:Steel